<template>
  <div class="header">
    <router-link to="/">
      <div class="iconfont icon-back">&#xe624;</div>
    </router-link>
    <div class="title">城市选择</div>
  </div>
</template>

<script>
export default {
  name: 'CityHeader'
}
</script>

<style lang="stylus" scoped>
@import '~styles/varibles.styl'
  .header
    position relative
    left 0
    right 0
    top 0
    height $headerHeight
    line-height $headerHeight
    background $bgColor
    color #fff
    text-align center
    .icon-back
        position absolute
        left .2rem
        color #fff
    .title
        font-size .32rem
</style>
